﻿using System;

namespace Medianamik.UI.Web.Shop
{
    public static class Constants
    {
        public const string ShoppingCartCookieName = "Medianamik.UI.Web.ShopShoppingCart";

        public const string DefaultAttributeTypeValuePropertyName = "Name";
    }

    public static class Pages
    {
        public const string ProductTypeSelector = "/medianamik/shop/producttypeselector.aspx";
        public const string CategoryList = "/medianamik/shop/shopcategories.aspx";
        public const string Edit = "/medianamik/shop/shopedit.aspx";
        public const string CompanyEdit = "/medianamik/shop/shopcompanyedit.aspx";
        public const string EditInvariantCulture = "/medianamik/shop/shopeditinvariantculture.aspx";
        public const string ProductList= "/medianamik/shop/shopproducts.aspx";
        public const string BrandList = "/medianamik/shop/brand/list.aspx";
        public const string TaxeList = "/medianamik/shop/shoptaxes.aspx";
        public const string ShippingTypeSelector = "/medianamik/shop/shippingtypeselector.aspx";
        public const string ShippingList = "/medianamik/shop/shopshippinglist.aspx";
        public const string OrderList = "/medianamik/shop/shoporders.aspx";
        public const string RegionAndTaxTypeSelector = "/medianamik/shop/RegionAndTaxTypeSelector.aspx";
        public const string RegionAndTaxList = "/medianamik/shop/shopregionandtaxes.aspx";
        public const string PaymentProviderList = "/medianamik/shop/ShopPaymentProviderList.aspx";
        public const string CompanyList = "/medianamik/shop/shopcompanylist.aspx";
        public const string AddressList = "/medianamik/shop/shopaddresslist.aspx";
        public const string OrderEdit = "/medianamik/shop/shoporderedit.aspx";
        public const string ModelGroupList = "/medianamik/shop/shopmodelgroups.aspx";
        public const string ModelList = "/medianamik/shop/shopmodels.aspx";
        public const string ShopDesjardinsEdit = "/medianamik/shop/shopdesjardinsedit.aspx";

        public const string AttributeTypeEdit = "/medianamik/shop/attributetype/edit.aspx";
        public const string AttributeTypeList = "/medianamik/shop/attributetype/list.aspx";
        public const string AttributeTypeValueList = "/medianamik/shop/attributetype/valuelist.aspx";
        
        public const string ProductTypeEdit = "/medianamik/shop/producttype/edit.aspx";
        public const string ProductTypeList = "/medianamik/shop/producttype/list.aspx";

        public const string AttributeEdit = "/medianamik/shop/attribute/edit.aspx";
        public const string AttributeList = "/medianamik/shop/attribute/list.aspx";
    }

    public static class Modules
    {
        public static Guid Shop = new Guid("317e6aba-8454-4a52-9688-d76c17739570");
    }

    public static class TypeIds
    {
        public static Guid Brand = new Guid("addab13d-b9d3-4cbc-8b74-98acae8fd1e7");
        public static Guid ShippingBase = new Guid("fbafca4a-c86b-40d3-adf8-66c60b701cab");
        public static Guid PaymentProviderBase = new Guid("33aab089-48a8-4b4c-921f-c981d20beed9");
        public static Guid Region = new Guid("f4fff2f7-b863-4e34-94e2-88855bbf901a");
        public static Guid Tax = new Guid("6f3a7e52-b8a8-42ff-b979-61d9f288c6ef");
        public static Guid ShoppingCart = new Guid("b2f43174-88a0-40fe-9789-3e399fe30bf3");
        public static Guid ShoppingCartItem = new Guid("3131a9c7-8bc4-4131-9457-d80d697d9831");
        public static Guid Order = new Guid("d214f7cc-eef8-4d54-b010-aa56034ffe2a");
        public static Guid OrderItem = new Guid("06b441e0-2ecb-43ee-abbb-048e3ec6079b");
        public static Guid Company = new Guid("e6b333cd-7788-4492-bc52-223add3ccd5a");
        public static Guid Address = new Guid("16e6b2a4-dd8f-4ab7-96dc-c15d8d69c494");
        public static Guid Category = new Guid("16e6b2a4-dd8f-4ab7-96dc-c15d8d69c494");
        public static Guid AttributeTypeBase = new Guid("bf42351c-dbcf-442d-9c42-a9ba1cb7766b");
        public static Guid ProductBase = new Guid("88567e87-4809-4348-9884-a09c4bbfa1f0");
    }

    public  static  class PageIds
    {
        public static Guid RegionsAndTaxes = new Guid("ce69d5b5-d098-4013-be11-ddc957436e32");
        public static Guid PaymentProviderList = new Guid("1431a7f5-3810-4757-8c81-da2b23a7c07c");
        public static Guid OrderList = new Guid("c333d17f-2f1f-4cc5-87a8-0e0d17482faf");
        public static Guid ShippingList = new Guid("f3dc17de-ef19-469b-8327-05f8523218d2");
        public static Guid BrandList = new Guid("0dff6046-4179-48a3-b986-45232b9014a4");
        public static Guid CategoryList = new Guid("15f06efb-9b87-427f-a9cc-c706bbcf477d");
        public static Guid ProductList = new Guid("e75a9fdb-315e-4d70-bec5-e135d61b1ab8");
        public static Guid FaceList = new Guid("36a6d859-4357-42ec-bbec-5858a8a2bcea");
        public static Guid FaceValueList = new Guid("067ceb76-a6c8-4be8-a036-c81a5512252b");
    }

    public static class ShopSchema
    {
        public static class BaseColumns
        {
            public const string Name = "Name";
            public const string NodeId = "NodeId";
            public const string TypeId = "TypeId";
            public const string ParentNodeId = "ParentNodeId";
            public const string Generation = "Generation";
            public const string CultureName = "CultureName";
        }

        public static class ShoppingCartItem
        {
            public const string TableName = "vw_gen_ShoppingCartItem";
            public static class Columns
            {
                public const string Quantity = "Quantity";
                public const string Product = "Product";
            }
        }

        public static class ModelsInShoppingCartItems
        {
            public const string TableName = "vw_gen_ModelsInShoppingCartItems";
            public static class Columns
            {
                public const string Models = "Models";
                public const string ShoppingCartItems = "ShoppingCartItems";
            }
        }

        public static class Product
        {
            public const string TableName = "vw_gen_Product";
        }

        public static class Order
        {
            public static string TableName = "vw_gen_Order";
            public static class Columns
            {
                public const string TransactionId = "TransactionId";
                public const string PaymentProviderTransactionNumber = "PaymentProviderTransactionNumber";
                public const string ShippedDate = "ShippedDate";
                public const string PurchaseDate = "PurchaseDate";
                public const string ClientProfile = "ClientProfile";
                public const string IsActive = "IsActive";
            }
        }

        public static class ShoppingCart
        {
            public static string TableName = "vw_gen_ShoppingCart";
            public static class Columns
            {
                public const string OrderId = "Order";
            }
        }

        public static class ClientProfile
        {
            public static string TableName = "vw_gen_ClientProfile";
            public static class Columns
            {
                public const string Name = "Name";
                public const string Email = "Email";
                public const string PhoneNumber = "PhoneNumber";
            }
        }
    }

    public static class DesjardinsConstant
    {
        public const string TransactionNumberQueryStringName = "ResponseFile";
    }

    public static class ParamNames
    {
        public const string ParentType = "parenttype";
        public const string ParentNodeId = "parent";
    }
}
